const vscode = require('vscode');

/**
 * @param {vscode.ExtensionContext} context
 */
function activate(context) {
	console.log('Congratulations, your extension "helloworld-minimal-sample" is now active!');
	let disposable = vscode.commands.registerCommand('extension.helloWorld', () => {
		vscode.window.showInformationMessage('Hello World000!');
	});
	
	myStatusBarItem = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Left, 300);
	myStatusBarItem.command = 'extension.helloWorld';
	myStatusBarItem.text = `▷ Run`;
	myStatusBarItem.show();

	context.subscriptions.push(myStatusBarItem,disposable);
}

function deactivate() {}

module.exports = {
	activate,
	deactivate
}
